package com.okhttpdemo.bean;

import okhttp3.Response;

/**
 * Created by 黄海 on 2017/3/1.
 */

public class MyResponse<T> {
    private Response rawResponse;
    private T body;

    public MyResponse(Response rawResponse, T body) {
        this.rawResponse = rawResponse;
        this.body = body;
    }

    public Response getRawResponse() {
        return rawResponse;
    }

    public void setRawResponse(Response rawResponse) {
        this.rawResponse = rawResponse;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
